<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            width: 400px;
            /* height: 240px; */
            border: 1px solid #000;
            /* border-collapse: collapse; */
            border-spacing: 0;
            margin:0 auto;
        }
        td,th{
            border: 1px solid #6cba0c;
            width: 100px;
            height: 30px;
            text-align: left;
        }
        th{
            background-color: #8de81f;
            color: rgb(255, 255, 255);
            font-size: 18px;
        }
        tr:nth-child(2n+1){
                background-color: #bfe88e;
        }
    </style>
</head>
<body>
    <table>
        <tr>
            <th>Company</th>
            <th>Cotact</th>
            <th>Country</th>
        </tr>
        <tr>
            <td>Apple</td>
            <td>Steven Jobs</td>
            <td>USA</td>
        </tr>
        <tr>
            <td>Baidu</td>
            <td>Li YanHong</td>
            <td>China</td>
        </tr>
        <tr>
            <td>Google</td>
            <td>Larry Page</td>
            <td>Finland</td>
        </tr>
        <tr>
            <td>Lenovo</td>
            <td>Liu Chuanzhi</td>
            <td>USA</td>
        </tr>
        <tr>
            <td>Microsoft</td>
            <td>Bill Gates</td>
            <td>China</td>
        </tr>
        <tr>
            <td>Nokia</td>
            <td>Stephen Elop</td>
            <td>USA</td>
        </tr>
    </table>
</body>
</html>